Search results
11 packages found
give default arguments to function calls
Lets you retrieve argument names, including default values from outside a function.
Function default parameters compiled to ES5.
A small utility module that converts function arguments to an object for use within the function based on a supplied metadata object. This allows parameters to be passed in any order, making the resultant function very flexible.
A simple function for providing defaults to an options argument. No dependencies, tiny amount of code.
Enforce required parameters or options in ES6.
Typescript interfaces with default values. Document default parameters in your `.d.ts` declaration file.
A helper function to work with es2015 default options
Static-typing and optional parameters in native JavaScript.
A router for express that manages api versioning.
Parse function parameters and get their names, count, incl rest-parameters and default values.